package main

import (
	"fmt"
	"strings"
)

func main() {
	s := "hello world"

	fmt.Println(strings.Contains(s, "he"))

	fmt.Println(strings.Count(s, "o"))

	fmt.Println(strings.Fields(s))

	fmt.Println(strings.HasPrefix(s, "hello"))

	fmt.Println(strings.HasSuffix(s, "l"))

	fmt.Println(strings.Index(s, "L"))

	fmt.Println(strings.IndexAny(s, "l"))

	fmt.Println(strings.Join([]string{"1", "2", "3"}, ","))

}
